﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace ET.DBCommon.Model
{
    /// <summary>
    /// UML时序图
    /// </summary>
    public class SequenceDiagramModel
    {
        /// <summary>
        /// 操作ID
        /// </summary>
        public int ID { get; set; }
        /// <summary>
        /// 用户ID
        /// </summary>
        public int UserID { get; set; }
        /// <summary>
        /// 操作步骤ID
        /// 信号-办理进路
        /// 调度电话-接听
        /// 无线电台-挂断
        /// </summary>
        public int OperID { get; set; }
        /// <summary>
        /// 操作的当前用户时间
        /// </summary>
        public DateTime OperTime { get; set; }
        /// <summary>
        /// 当前用户操作的虚拟时间
        /// </summary>
        public DateTime VirtualTime { get; set; }
        /// <summary>
        /// 操作的设备类型ID,例如：信号机；道岔；进路等
        /// </summary>
        public int DeviceTypeID { get; set; }
        /// <summary>
        /// 操作的设备ID,例如信号机X201的ID
        /// </summary>
        public string DeviceID { get; set; }
        /// <summary>
        /// 文本
        /// </summary>
        public String Parameters { get; set; }
        /// <summary>
        /// 备注，预留字段
        /// </summary>
        public String Remark { get; set; }
        /// <summary>
        /// 1/信号;2/调度电话;3/无线电台
        /// </summary>
        public string  SystemType { get; set; }
        /// <summary>
        /// 是否有效
        /// </summary>
        public bool IsEffective { get; set; } = true;
        /// <summary>
        /// 步骤ID
        /// </summary>
        public int ExamresultsStepID { get; set; }
        /// <summary>
        /// 录音文件
        /// </summary>
        public byte[] AudioFile { get; set; }
        /// <summary>
        /// 当前用户操作的结束虚拟时间
        /// </summary>
        public DateTime EndVirtualTime { get; set; }
         /// <summary>
        /// 是否主场景
        /// </summary>
        public bool IsMain { get; set; }
    }


}
